home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Applications / Demos_Demo folder / Demos_Info folder / Demos™ Demonstration / Models / Party < prev   
Encoding:
Text File  |  1993-05-27  |  2.4 KB  |  98 lines  |  [TEXT/DMOS]

  1. { From user A Lumens, Project Party at Thu, May 27, 1993 10:33 AM}
  2.  
  3.  
  4. { System Variables with non-default values: }
  5. Numberwidth := 7
  6. Samplesize := 200
  7. Distribsize := 21
  8. Windows := 2
  9. Sampletype := 1
  10. Usetable := 0
  11. Typechecking := 1
  12. Checking := 1
  13. Showundef := 0
  14. Saveoptions := 2
  15. Savevalues := 0
  16.  
  17.  
  18. { Non-default Time SysVar value: }
  19. Time := [0,1,2]
  20.  
  21. Attribute Reference
  22.  
  23. Project Party
  24. Title: Party Problem
  25. Description: You want to throw a party, and can't decide where to throw it. Location is a decision variable specifying your options: have it indoors, on the porch, or outdoors.  Weather is an uncertain variable, specifying the chance that it will be sunny or rainy.  Expected Value defines the value of each decision to you, given the weather outcomes.
  26. Author: A Lumens
  27. Date: Tue, May 11, 1993 3:30 PM
  28. Saveauthor: A Lumens
  29. Savedate: Thu, May 27, 1993 10:33 AM
  30. Diagstate: 1,54,46,410,215,3
  31. Windstate: 1,112,404
  32. Fileinfo: 0,-6,5798,Project Party,Party Problem
  33. Getresource Pagesetup,1
  34.  
  35. Chance Weather
  36. Title: Weather
  37. Description: The weather could be sunny or rainy.  This variable is defined as a probability table, assigning a probability to each possible outcome.
  38. Definition: ProbTable(Self)(
  39. P,(1-P))
  40. Location: 168,56
  41. Nodesize: 48,20
  42. Defnstate: 1,229,411,324,138,0,MIDM
  43. Valuestate: 1,184,194,395,186,1,PDFP
  44. Reformdef:           [Undefined ,Self]
  45. Reformval:           [Undefined ,Undefined ]
  46. Domain: ['sunny','rainy']
  47.  
  48. Objective Value_to_me
  49. Title: Value to me
  50. Units: $
  51. Description: This variable defines how much money you're willing to spend on each decision, given each possible outcome for the weather.  The expected value of the result can be seen by computing the mean value.
  52. Definition: DetermTable(Weather,Location1)(
  53. 100,90,40,
  54. 0,20,50
  55. )
  56. Location: 296,96
  57. Nodesize: 48,20
  58. Windstate: 1,115,309
  59. Defnstate: 1,584,188,324,140,0,MIDM
  60. Valuestate: 1,357,123,425,255,1,MEAN
  61. Graphsetup: Distresol:4~
  62. Diststeps:1~
  63. Symbolsize:6~
  64. Linestyle:6~
  65. Frame:1~
  66. Grid:1~
  67. Ticks:1~
  68. Mesh:1~
  69. Scales:1~
  70. Frameauto:1~
  71. Xminimum:40~
  72. Xmaximum:50~
  73. Yminimum:0~
  74. Ymaximum:0.01~
  75. Zminimum:0~
  76. Zmaximum:1u~
  77. Xintervals:0~
  78. Yintervals:0~
  79.  
  80. Reformdef:           [Weather   ,Location1 ]
  81. Reformval:           [P         ,Location1 ]
  82.  
  83. Decision Location1
  84. Title: Party Location
  85. Description: Possible locations where you're willing to throw a party.
  86. Definition: ['outdoors','porch','indoors']
  87. Location: 168,144
  88. Nodesize: 48,20
  89.  
  90. Chance P
  91. Title: Probability~
  92. Sunshine
  93. Definition: 0.4
  94. Location: 56,104
  95. Nodesize: 48,20
  96.  
  97. Close Party
  98.